package com.tzz.entity;

import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class Product {
    private int id;
    @Min(0)
    private int skuId;

    @NotNull
    @NotBlank
    private String skuName;

    @NotNull
    @NotBlank
    private String mongoId;
}
